
from django.urls import path, include
from rest_framework.routers import DefaultRouter

from .views import RankViewSet


router = DefaultRouter()
router.register('viewsets', RankViewSet)

urlpatterns = [
    path('', include(router.urls)),
    path('api/<str:value>', RankViewSet.as_view( {'get': 'select'} )),
]

